<html>
	<head>
<!-- 

	Silobox
	
	Copyright (c) 2009 Mat Ryer
	
	http://silobox.googlecode.com/

	Permission is hereby granted, free of charge, to any person obtaining
	a copy of this software and associated documentation files (the
	"Software"), to deal in the Software without restriction, including
	without limitation the rights to use, copy, modify, merge, publish,
	distribute, sublicense, and/or sell copies of the Software, and to
	permit persons to whom the Software is furnished to do so, subject to
	the following conditions:

	The above copyright notice and this permission notice shall be
	included in all copies or substantial portions of the Software.

	THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
	EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
	MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
	NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
	LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
	OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
	WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

 -->
		<script type="text/javascript" src="lib/jquery/jquery-1.3.2.min.js"></script>
		<script type="text/javascript" src="lib/jquery/jquery.json-1.3.min.js"></script>
		<script type="text/javascript" src="src/silobox.main.js"></script>
		<link type="text/css" rel="stylesheet" href="css/silobox.css" />
	</head>
	<body onload="SBGo();" class="page">
		
		<div class="page">
		
			<h1>
				<a href="runner.htm">
					silobox
				</a>
			</h1>
			
			<div id="status-bar">
				<div id="perc-val">
					-
				</div>
				<div id="perc-box">
					<div id="perc-bar"></div>
				</div>
				<div id="status-text"></div>
			</div>
			
			<div id="file-selector" style="display:none">
				<h2>
					Tell me where your project file is
				</h2>
				<form method="get">
					<input type="hidden" name="phase" value="start" />
					<input id="projectTextBox" class="text" type="text" name="project" />
					<input type="submit" value="Begin" />
				</form>
				<hr />
				<h3>
					Bookmark
				</h3>
				<p>
					<input class="normal" type="text" id="bookmark" readonly="readonly" value="(enter your project path above and I'll tell you the URL that kicks off the benchmarking...)" />
				</p>
				<h3>
					Or try one of these samples:
				</h3>
				<ul>
					<li>
						<a href="runner.htm?phase=start&project=samples/loops/loops.silobox-project.js">Which is the best loop?</a>
					</li>
					<li>
						<a href="runner.htm?phase=start&project=samples/deep-nesting/deep-nesting.silobox-project.js">Caching deep nested objects</a>
					</li>
				</ul>
				<h3>
					more&hellip;
				</h3>
				<ul>
					<li>
						<a href="http://www.silobox.com/" target="_blank">
							Visit Silobox.com
						</a>
					</li>
					<li>
						<a href="http://code.google.com/p/silobox-projects/wiki/Projects" target="_blank">
							Browser project library
						</a>
					</li>
					<li>
						<a href="http://code.google.com/p/silobox/issues/list" target="_blank">
							Report bugs or issues
						</a>
					</li>
				</ul>
			</div>
			
			<div class="bod" style="display:none">
			
				<h1 class="project-title">
					
				</h1>
			
				<h2>
					And the winner is...
				</h2>
			
				<div id="summary-graph"></div>
			
				<p>
					<em>Remember the quicker the better!</em>
				</p>
			
				<h2>
					The result details
				</h2>
				
				<div class="legend">
					
					<div class="min">
					</div>
					<div class="min-value">
					</div>
					<div class="to">
					-
					</div>
					<div class="top">
					</div>
					<div class="top-value">
					</div>
					<div class="to">
					-
					</div>
					<div class="max">
					</div>
					<div class="max-value">
						0 ms
					</div>
					
				</div>
				
				<ul id="results-list">
					
				</ul>
				
				<hr />
				
				<h2>
					Now what?
				</h2>
				
				<ol>
					<li>
						<a id="run-again-link" href="javascript:void(0);">
							Run it again in this browser
						</a>
					</li>
					<li>
						Run it in a different browser: <input readonly="readonly" type="text" class="bookmark normal" /> (copy and paste this URL)
					</li>
					<li>
						<a href="javascript:location.search = '';">
							Run a different project
						</a>
					</li>
				</ol>
				
			</div>			

		</div>
		
	</body>
</html>